ACFWF\Models\Cart_Conditions C

Total Complexity 103
Dependencies 6
Dependents 9
Total lines 806
Lines of code 352
Logical lines of code 181
Comment lines 302
Methods 23
Properties 5

Methods 23

Method Rating Maintainability Complexity Lines of code
_sanitize_condition_field()
B
45 18 40
ajax_save_cart_conditions()
A
49 13 24
_get_product_category_condition_field_value()
A
46 12 34
implement_cart_conditions()
A
51 9 23
display_cart_condition_notice()
S
58 7 14
_get_cart_condition_notice()
S
60 7 11
condition_fields_localized_data()
S
39 1 81
_get_condition_group_value()
S
55 5 18
_sanitize_cart_conditions()
S
58 3 17
_get_disallowed_customer_user_role_condition_field_value()
S
64 4 9
_get_customer_user_role_condition_field_value()
S
64 4 9
initialize()
S
70 2 6
run()
S
65 2 8
_get_cart_subtotal_condition_field_value()
S
68 2 6
_get_cart_quantity_condition_field_value()
S
63 2 10
get_instance()
S
70 2 6
_get_customer_logged_in_status_condition_field_value()
S
75 2 4
_sanitize_condition_group()
S
69 2 7
get_product_category_options()
S
65 2 8
_save_cart_condition_notice_settings()
S
74 1 4
_save_cart_conditions()
S
78 1 3
is_cart_item_valid()
S
74 1 4
__construct()
S
71 1 6